﻿Imports DTO
Imports DAO


Public Class CTinhTrangSachBUS
    Public Function LayDanhSachTinhTrangSach() As List(Of CTinhTrangSachDTO)
        Return New CTinhTrangSachDAO().LayDanhSachTinhTrangSach()
    End Function

    Public Function ThemTinhTrangSach(ByVal tentinhtrangsach As String) As Integer
        Return New CTinhTrangSachDAO().ThemTinhTrangSach(tentinhtrangsach)
    End Function


    Public Function CapNhatTenTinhTrangSach(ByVal tinhtrangsach As CTinhTrangSachDTO) As Integer
        Return New CTinhTrangSachDAO().CapNhatTinhTrangSach(tinhtrangsach)
    End Function

    Public Function LoadTinhTrangSach() As List(Of CTinhTrangSachDTO)
        Return Nothing
    End Function

End Class
